package com.my.main.service.userAndRight;

import com.my.main.base.service.BaseService;
import com.my.main.entity.userAndRight.SysRightsRoleResource;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface SysRightsRoleResourceService extends BaseService<SysRightsRoleResource> {


    // 查询资源根据角色
    public List<SysRightsRoleResource> querySysRightsResourceListForRole(Map map);

    // 更新角色与资源关系
    public void isUpdateSysRightsRoleResource(String roleId, List<String> ridList, String ip, String userId);

}
